package com.itheima.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author ：yuanjian
 * @date ：Created in 2020/11/14 19:10
 * @description：
 */
@Data
@TableName("t_ordersetting")
public class OrderSetting implements Serializable {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;     //   `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '预约编号',

    private Date orderDate;//        `order_date` date DEFAULT NULL COMMENT '预约日期',

    private int number;      //  `number` int(11) DEFAULT NULL COMMENT '预约总数量',

    private int reservations;  //      `reservations` int(11) DEFAULT NULL COMMENT '已经预约数量',
}
